package com.cainiao.pojo;

import java.util.Date;

/**
 * 
 * DistributorRelationship
 * 数据库表：distributor_relationship
 */
public class DistributorRelationship {

    /**
     * 主键
     * 表字段 : distributor_relationship.id
     */
    private Long id;

    /**
     * 企业标识
     * 表字段 : distributor_relationship.biz_code
     */
    private String bizCode;

    /**
     * 父级用户ID
     * 表字段 : distributor_relationship.parent_id
     */
    private Long parentId;

    /**
     * 用户ID
     * 表字段 : distributor_relationship.user_id
     */
    private Long userId;

    /**
     * 开启状态
     * 表字段 : distributor_relationship.status
     */
    private Byte status;

    /**
     * 级别
     * 表字段 : distributor_relationship.level
     */
    private Integer level;

    /**
     * 关系类型
     * 表字段 : distributor_relationship.type
     */
    private Byte type;

    /**
     * 关系跟踪串
     * 表字段 : distributor_relationship.trace
     */
    private String trace;

    /**
     * 
     * 表字段 : distributor_relationship.delete_mark
     */
    private Byte deleteMark;

    /**
     * 
     * 表字段 : distributor_relationship.gmt_created
     */
    private Date gmtCreated;

    /**
     * 
     * 表字段 : distributor_relationship.gmt_modified
     */
    private Date gmtModified;

    /**
     * 消费金额
     * 表字段 : distributor_relationship.consume_amount
     */
    private Long consumeAmount;

    /**
     * 分销类型
     * 表字段 : distributor_relationship.dist_type
     */
    private Byte distType;

    /**
     * 获取 主键 字段:distributor_relationship.id
     *
     * @return distributor_relationship.id, 主键
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置 主键 字段:distributor_relationship.id
     *
     * @param id the value for distributor_relationship.id, 主键
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取 企业标识 字段:distributor_relationship.biz_code
     *
     * @return distributor_relationship.biz_code, 企业标识
     */
    public String getBizCode() {
        return bizCode;
    }

    /**
     * 设置 企业标识 字段:distributor_relationship.biz_code
     *
     * @param bizCode the value for distributor_relationship.biz_code, 企业标识
     */
    public void setBizCode(String bizCode) {
        this.bizCode = bizCode == null ? null : bizCode.trim();
    }

    /**
     * 获取 父级用户ID 字段:distributor_relationship.parent_id
     *
     * @return distributor_relationship.parent_id, 父级用户ID
     */
    public Long getParentId() {
        return parentId;
    }

    /**
     * 设置 父级用户ID 字段:distributor_relationship.parent_id
     *
     * @param parentId the value for distributor_relationship.parent_id, 父级用户ID
     */
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    /**
     * 获取 用户ID 字段:distributor_relationship.user_id
     *
     * @return distributor_relationship.user_id, 用户ID
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置 用户ID 字段:distributor_relationship.user_id
     *
     * @param userId the value for distributor_relationship.user_id, 用户ID
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取 开启状态 字段:distributor_relationship.status
     *
     * @return distributor_relationship.status, 开启状态
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * 设置 开启状态 字段:distributor_relationship.status
     *
     * @param status the value for distributor_relationship.status, 开启状态
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * 获取 级别 字段:distributor_relationship.level
     *
     * @return distributor_relationship.level, 级别
     */
    public Integer getLevel() {
        return level;
    }

    /**
     * 设置 级别 字段:distributor_relationship.level
     *
     * @param level the value for distributor_relationship.level, 级别
     */
    public void setLevel(Integer level) {
        this.level = level;
    }

    /**
     * 获取 关系类型 字段:distributor_relationship.type
     *
     * @return distributor_relationship.type, 关系类型
     */
    public Byte getType() {
        return type;
    }

    /**
     * 设置 关系类型 字段:distributor_relationship.type
     *
     * @param type the value for distributor_relationship.type, 关系类型
     */
    public void setType(Byte type) {
        this.type = type;
    }

    /**
     * 获取 关系跟踪串 字段:distributor_relationship.trace
     *
     * @return distributor_relationship.trace, 关系跟踪串
     */
    public String getTrace() {
        return trace;
    }

    /**
     * 设置 关系跟踪串 字段:distributor_relationship.trace
     *
     * @param trace the value for distributor_relationship.trace, 关系跟踪串
     */
    public void setTrace(String trace) {
        this.trace = trace == null ? null : trace.trim();
    }

    /**
     * 获取  字段:distributor_relationship.delete_mark
     *
     * @return distributor_relationship.delete_mark, 
     */
    public Byte getDeleteMark() {
        return deleteMark;
    }

    /**
     * 设置  字段:distributor_relationship.delete_mark
     *
     * @param deleteMark the value for distributor_relationship.delete_mark, 
     */
    public void setDeleteMark(Byte deleteMark) {
        this.deleteMark = deleteMark;
    }

    /**
     * 获取  字段:distributor_relationship.gmt_created
     *
     * @return distributor_relationship.gmt_created, 
     */
    public Date getGmtCreated() {
        return gmtCreated;
    }

    /**
     * 设置  字段:distributor_relationship.gmt_created
     *
     * @param gmtCreated the value for distributor_relationship.gmt_created, 
     */
    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    /**
     * 获取  字段:distributor_relationship.gmt_modified
     *
     * @return distributor_relationship.gmt_modified, 
     */
    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * 设置  字段:distributor_relationship.gmt_modified
     *
     * @param gmtModified the value for distributor_relationship.gmt_modified, 
     */
    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     * 获取 消费金额 字段:distributor_relationship.consume_amount
     *
     * @return distributor_relationship.consume_amount, 消费金额
     */
    public Long getConsumeAmount() {
        return consumeAmount;
    }

    /**
     * 设置 消费金额 字段:distributor_relationship.consume_amount
     *
     * @param consumeAmount the value for distributor_relationship.consume_amount, 消费金额
     */
    public void setConsumeAmount(Long consumeAmount) {
        this.consumeAmount = consumeAmount;
    }

    /**
     * 获取 分销类型 字段:distributor_relationship.dist_type
     *
     * @return distributor_relationship.dist_type, 分销类型
     */
    public Byte getDistType() {
        return distType;
    }

    /**
     * 设置 分销类型 字段:distributor_relationship.dist_type
     *
     * @param distType the value for distributor_relationship.dist_type, 分销类型
     */
    public void setDistType(Byte distType) {
        this.distType = distType;
    }
}